const Sequelize = require('sequelize');

const MallSequelize = new Sequelize('zhxstu', 'root', 'root', {
    host: 'localhost',
    dialect: 'mysql',
    operatorsAliases: false,
    define: {
        underscored: true, // 字段以下划线分割
        timestamps: false // 取消自动添加时间戳
    },
    pool: {
      max: 5,
      min: 0,
      acquire: 30000,
      idle: 10000
    },
  });
module.exports = {
    MallSequelize
}